package com.wsoft.bpm.enums;

/**
 * 网关类型
 *
 * @Author zhonglj
 * @Date 2024-09-19 15:38
 */
public enum GatewayType {
    /**
     * 排他网关
     */
    EXCLUSIVE("exclusiveGateway", "排他网关"),
    /**
     * 事件驱动网关
     */
    EVENT_BASED("eventBasedGateway", "事件驱动网关"),
    /**
     * 包含网关
     */
    INCLUSIVE("inclusiveGateway", "包含网关"),
    /**
     * 并行网关
     */
    PARALLEL("parallelGateway", "并行网关");

    private String value;
    private String description;

    GatewayType(String value, String description) {
        this.value = value;
        this.description = description;
    }

    public String getValue() {
        return value;
    }
}
